/**
 * com.cnhis.cloudhealth.base.bo.SysParametersBo.java
 */
package com.cnhis.cloudhealth.clinical.medical.base.bo;

import com.cnhis.cloudhealth.clinical.medical.base.dao.MsysUserparametersDao;
import com.cnhis.cloudhealth.clinical.medical.base.mapper.MsysUserparameters;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author zb-csw
 * @version V1.0
 * @Title: MsysUserparametersBo
 * @Package
 * @Description: (科室级参数)
 * @date 2017/10/30 14:49
 */
@Service
public class MsysUserparametersBo {
    @Resource
    private MsysUserparametersDao msysUserparametersDao;


    /**
     * @param param
     * @return java.util.List<com.cnhis.cloudhealth.clinical.medical.base.mapper.MsysUserparameters>
     * @throws
     * @Title: findUserParameters
     * @Description: （根据当前科室与参数ids查询集合）
     * @author chengshaowei
     * @date 2017/10/30
     */
    public List<MsysUserparameters> findUserParameters(Map<String, Object> param) {
        return msysUserparametersDao.findUserParameters(param);
    }

    /**
     * @param list
     * @return void
     * @throws
     * @Title: batchinsertByVo
     * @Description: （批量保存科室级参数）
     * @author chengshaowei
     * @date 2017/10/30
     */
    public void batchinsertByVo(List<MsysUserparameters> list) throws Exception {
        msysUserparametersDao.batchinsertByVo(list);
    }

    /**
     * @param list
     * @return void
     * @throws
     * @Title: batchupdateByVoNotNull
     * @Description: （批量修改科室级参数）
     * @author chengshaowei
     * @date 2017/10/30
     */
    public void batchupdateByVoNotNull(List<MsysUserparameters> list) throws Exception {
        msysUserparametersDao.batchupdateByVoNotNull(list);
    }

}
